home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Interactive 7
/
PC World Interactive 7.iso
/
online
/
motor.EXE
/
MOM2.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1991-10-05
|
2KB
|
52 lines
begin
write('ѥ');
end.
,f4,f5,f6,f7 :text;
str2,str1 :string[11];
STR3,STR4 :STRING[10];
STR5 :STRING[4];
STR6 :STRING[6];
x1,x2,x3,x4,x5 :longint;
y1,y2,y3,y4 :real;
label 10,20;
begin
assign(f5,'momx.mnu');assign(f6,'momy.mnu');assign(f7,'mom.mnu');
rewrite(f5);rewrite(f6);rewrite(f7);
writeln(f6,'***screen');writeln(f6,'**s');writeln(f6,'[GERIDON]^C^C(COMMAND "MENU" "MOM")');
WRITELN(F5,'***SCREEN');WRITELN(F5,'**S');WRITELN(F5,'[GERIDON]^C^C(COMMAND "MENU" "MOM")');
WRITELN(F7,'***SCREEN');WRITELN(F7,'**S');WRITELN(F7,'[AUTOCAD]^C^C(COMMAND "MENU" "ACAD")');
WRITELN(F7,'[ ]');WRITELN(F7,'[ ]');WRITELN(F7,'[ ]');
WRITELN(F7,'[MOMX]^C^C(COMMAND "MENU" "MOMX")');
WRITELN(F7,'[MOMY]^C^C(COMMAND "MENU" "MOMY")');
CLOSE(F5);CLOSE(F6);CLOSE(F7);
begin;
ASSIGN(F3,'sira.dat');
ASSIGN(F4,'mom1.dat');
assign(f1,'MOM2.dat');
reset(F4);reset(f3);rewrite(f1);
readln(f4,x4,y1,y2);
10: readln(f3,x1,x2,x3);
if eof(f3) then goto 20;
if (x1 = x4) then
begin;
writeln(f1,X1,' ',x2,' ',x3,' ',y1,' ',y2);
end;
if (x1 < x4) then goto 10;
readln(f4,x4,y1,y2);
goto 10;
20:close(f3);
close(f4);
close(f1);
end;
end.uses crt;
var
f1,f2,f3,f4,f5,f6,f7 :text;
str2,str1 :string[11];
STR3,STR4 :STRING[10];
STR5 :STRING[4];
STR6 :STRING[6];
x1,x2,x3,x4,x5 :longint;
y1,y2,y3,y4 :real;
label 10,20;
begin